import { Route,Routes,BrowserRouter  } from "react-router-dom";
import ImportExcel from "../Page/importExcel";
import UserPage from "../Page/userPage";
import RolePage from "../Page/rolePage";
import SaleFlowPage from "../Page/saleFlowPage";
import StorePage from "../Page/storePage";
import PurFlowPage from "../Page/purFlowPage";
import LotStorePage from "../Page/lotStorePage";
import CustOfProdPage from "../Page/custOfProdPage";
import HomePage from "../Page/homePage";
import LoginPage from "../Page/login_page";
// import LoginPage from "../Page/loginPage";



function MyRoute() {
    return (
        <Routes>
          <Route path="/" element={<HomePage />}></Route>
          <Route path="/login" element={<LoginPage />}></Route>
          <Route path="/flow/saleFlowPage" element={<SaleFlowPage />}></Route>
          <Route path="/flow/purFlowPage" element={<PurFlowPage />}></Route>
          <Route path="/store/storePage" element={<StorePage />}></Route>
          <Route path="/store/lotStorePage" element={<LotStorePage />}></Route>
          <Route path="/setting/importExcel" element={<ImportExcel />}></Route>
          <Route path="/setting/userPage" element={<UserPage />}></Route>
          <Route path="/setting/rolePage" element={<RolePage />}></Route>
          <Route path="/setting/custOfProdPage" element={<CustOfProdPage />}></Route>
        </Routes>
    );
}

export default MyRoute;

